/*
* @Author: dongshangtong
* @Date:   2018-10-10 03:44:50
* @Last Modified by:   dongshangtong
* @Last Modified time: 2018-10-10 04:37:10
*/


const inert = require('inert');
const vision = require('vision');
const package = require('package');
const hapiSwagger = require('hapi-swagger');


module.exports = [

	inert,
	vision,
	{
	register:hapiSwagger,
	options:{
		info:{
			title:'接口文档',
			version: package.version,
		},
		grouping:'tags',
		tags:[{name:'tests',description:'测试相关'},
		]
	 }
    }
]


